package c.c.a;

import android.util.Log;

public class v0 implements Runnable {
    public final Runnable a;
    public final String b;
    public final String c = Log.getStackTraceString(new RuntimeException("origin stacktrace"));

    public v0(Runnable runnable, String str) {
        this.a = runnable;
        this.b = str;
    }

    public void run() {
        try {
            this.a.run();
        } catch (Exception e) {
            e.printStackTrace();
            StringBuilder stringBuilder = new StringBuilder();
            stringBuilder.append("Thread:");
            stringBuilder.append(this.b);
            stringBuilder.append(" exception\n");
            stringBuilder.append(this.c);
            u0.a("TrackerDr", stringBuilder.toString(), e);
        }
    }
}
